package com.coder4j.auth.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import java.util.Date;
import lombok.Data;

/**
 * 组织 Excel导出对象
 * @author keller
 * @date 2024-05-09 11:08:09
 */
@Data
public class AuthOrganizationEO{

    @ExcelProperty(value = "ID,根组织ID为0")
    @ColumnWidth(25)
    private Long id;

    @ExcelProperty(value = "组织名称，可以是集团、公司、部门")
    @ColumnWidth(25)
    private String name;

    @ExcelProperty(value = "上级组织ID")
    @ColumnWidth(25)
    private Long parentId;

    @ExcelProperty(value = "组织路径，从根组织到本组织的id集合，下划线开始，下划线分隔。如：_0_1_4")
    @ColumnWidth(25)
    private String uniquePath;

    @ExcelProperty(value = "同级内排序号，序号越小越靠前")
    @ColumnWidth(25)
    private Integer sort;

    @ExcelProperty(value = "创建人ID")
    @ColumnWidth(25)
    private Long createId;

    @ExcelProperty(value = "创建人名称")
    @ColumnWidth(25)
    private String createName;

    @ExcelProperty(value = "创建时间")
    @ColumnWidth(25)
    private Date createTime;

    @ExcelProperty(value = "修改人ID")
    @ColumnWidth(25)
    private Long updateId;

    @ExcelProperty(value = "修改人名称")
    @ColumnWidth(25)
    private String updateName;

    @ExcelProperty(value = "修改时间")
    @ColumnWidth(25)
    private Date updateTime;


}
